From: kfraser@localhost.localdomain Date: Wed, 4 Oct 2006 17:55:16 +0000 (+0100) Subject: [LINUX] Don't bother to write a 5-bit value to a 2-bit field. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15622^2~2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=52432dc10245311f49efefe906ccfd78d34a7bd8;p=xen.git [LINUX] Don't bother to write a 5-bit value to a 2-bit field. From: Jan Beulich Signed-off-by: Keir Fraser --- diff --git a/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c b/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c index ca96708d1c..65ba83c625 100644 --- a/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c +++ b/linux-2.6-xen-sparse/arch/x86_64/kernel/process-xen.c @@ -350,7 +350,6 @@ static inline void set_32bit_tls(struct task_struct *t, int tls, u32 addr) struct user_desc ud = { .base_addr = addr, .limit = 0xfffff, - .contents = (3 << 3), /* user */ .seg_32bit = 1, .limit_in_pages = 1, .useable = 1,